package com.jfirer.jsql.transfer.impl;

import com.jfirer.jsql.transfer.ResultSetTransfer;
import lombok.SneakyThrows;

import java.sql.ResultSet;

public class BigDecimalTransfer implements ResultSetTransfer
{
    public static final BigDecimalTransfer INSTANCE = new BigDecimalTransfer();

    @SneakyThrows
    @Override
    public Object transfer(ResultSet resultSet, int columnIndex)
    {
        return resultSet.getBigDecimal(columnIndex);
    }
}
